package com.fstart.sys.service;

import com.fstart.sys.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xibing
 * @since 2023-04-23
 */
public interface IUserService extends IService<User> {

    Map<String, Object> login(User user);

    Map<String, Object> getUserinfo(String token);

    void logout(String token);

    User updateUserTop(User user, String token);

    boolean sendEmailCode(Map<String, String> email);
}
